package com.trivia

class Answer {

    String statement
    Boolean status
    Question question

    static constraints = {
        statement(nullable:false/*,matches:"[a-zA-Z0-9_-]+"*/)
        status(nullable:false)
        question(nullable:false)
    }
}
